// Copyright (c) Microsoft Corporation.  All rights reserved.

#include "stdafx.h"
#include "D3D10Counter.h"

using namespace Microsoft::WindowsAPICodePack::DirectX::Direct3D10;

CounterDescription^ D3DCounter::GetDescription()
{
    D3D10_COUNTER_DESC* tempoutDescription = new D3D10_COUNTER_DESC();
    GetInterface<ID3D10Counter>()->GetDesc(tempoutDescription);
    
    return gcnew CounterDescription(tempoutDescription);
}

